package com.hp.team.bookstore.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class StaticPagesController implements IPageUrlConstants {

	@RequestMapping(value = "/contact", method = RequestMethod.GET)
	public String showPageContactUs(ModelMap model) {
		return PAGE_CONTACT_US;
	}

	@RequestMapping(value = "/about", method = RequestMethod.GET)
	public String showPageAboutUs(ModelMap model) {
		return PAGE_ABOUT_US;
	}
}